package com.xjz.common;

import com.xjz.constant.CommonConstant;
import lombok.Data;

/**
 * ClassName: PageRequest
 * Package: com.xjz.common
 * Description:
 *  分页请求
 * @Author 许小健
 * @Create 2025/8/2 14:42
 * @Version 1.0
 */
@Data
public class PageRequest {
    /**
     * 当前页号
     */
    private Long current = 1L;

    /**
     * 页大小
     */
    private Long pageSize = 10L;

    /**
     * 排序字段
     */
    private String sortField;

    /**
     * 排序顺序（默认升序）
     */
    private String sortOrder = CommonConstant.SORT_ORDER_ASC;
}
